package name.fowler.refactoring.simplestore.domain.pricecode;

import javax.persistence.Entity;

import name.fowler.refactoring.simplestore.Calculator;

@Entity
public class PriceCodeNewRelease extends PriceCode {

	public PriceCodeNewRelease()
	{
		name = "NEW_RELEASE";
	}
	@Override
	public void accept(Calculator visitor) {
		visitor.calculateWhenPriceCodeNewRelease();
	}

}
